package com.imooc.enums;

import lombok.Getter;

/**
 * Created with idea
 * auther : zyr
 * Date : 2018/8/14
 * Time : 15:26
 **/
@Getter
public enum ProductStatusEnum implements CodeEnum {
    /**
     *
     */
    UP(0, "在架"),
    DOWN(1, "下架");
    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
